package com.xinyue.authorization.bean;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import java.util.Date;

@Entity
@Table(name="DZ_GROUP")
public class Group implements Serializable{
	private static final long serialVersionUID = 1L;
	
	//ID
	private int groupId;
	//属性
	private String groupName;
	private String groupSign;
	private String description;
	private int createrId;
	private String createrName;
	private Date createDate;
    
    /**getter setter*/
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(length = 6)
    public int getGroupId() {
		return groupId;
	}
	public void setGroupId(int groupId) {
		this.groupId = groupId;
	}
	public String getGroupName() {
		return groupName;
	}
	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}
	public String getGroupSign() {
		return groupSign;
	}
	public void setGroupSign(String groupSign) {
		this.groupSign = groupSign;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public int getCreaterId() {
		return createrId;
	}
	public void setCreaterId(int createrId) {
		this.createrId = createrId;
	}
	public String getCreaterName() {
		return createrName;
	}
	public void setCreaterName(String createrName) {
		this.createrName = createrName;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
}
